
/* !:
 * @FileName(文件名):  PushViewController.m
 * @ProjectName(工程名):   SimpleNote
 * @CreateDate(创建日期):  Created by mac on 2017/12/1.
 * @Copyright(版权所有) : Copyright © 2017年 上海LOL信息技术服务有限公司. All rights reserved.
 */


#import "PushViewController.h"

@interface PushViewController ()

@end

@implementation PushViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self setUI];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - ♻️life cycle

#pragma mark - 🔒private

#pragma mark - 🔄overwrite

#pragma mark - 🚪public

#pragma mark - 🍐delegate

#pragma mark - ☎️notification

#pragma mark - 🎬event response

#pragma mark - ☸getter and setter
-(void)setUI{
    self.title = @"推送setting";
    UIView *lineView = [[UIView alloc]init];
    lineView.backgroundColor = [UIColor lightGrayColor];
    [self.view addSubview:lineView];
    
    UISwitch *swithch = [[UISwitch alloc]init];
    [self.view addSubview:swithch];
    [swithch mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(StatusHeight + 44 + 7*ScaleX);
        make.height.mas_equalTo(30*ScaleX);
        make.right.equalTo(self.view).offset(-12*ScaleX);
        make.width.mas_equalTo(60*ScaleX);
    }];

    [lineView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.equalTo(self.view);
        make.height.mas_equalTo(@1);
        make.top.equalTo(self.view).offset(StatusHeight + 44 + 44*ScaleX);
    }];
}


@end








